export function resize() {
    this.$refs.myChart.addEventListener('resize', this.setMychart);
}